home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / READMEFiles / 2.0_HotShape.README < prev    next >
Text File  |  1992-08-29  |  1KB  |  9 lines

  1. Developed by Charles G. Fleming (cfleming@alleg.edu), Educational Computing Services, Allegheny College, Meadville, PA 16335.
  2.  
  3. Discipline:    Programming 
  4.  
  5.     A HotShape is a Control subclass that receives mouse-down events and sends an action message to a target object whenever the mouse is clicked in the hot region.  The hot region is determined by a path in the associated file HotPath.psw.  The hot path can be visible or invisible.  
  6.     The standard HotPath.psw file contains, in the function setHotPaths(), the postscript for elliptical, rectangular, diamond, star, triangular and octagonal paths.  If additional paths are desired for your HotShape control, simply add the postscript to the setHotPaths() function in HotPath.psw.  If you are using the HotShape palette (see below), you will need to recompile the palette.
  7.     For ease of use, the HotShape has been palette-ized and has an inspector which allows you to select the hot path for the HotShape, to choose whether the hot shape is visible or invisible, and to set the tag.  Any project built with the HotShape palette will need to add HotShape.(hm), SmallCell.(hm) and HotShape.psw to the project being built.  
  8.     
  9. This application was developed under NeXTstep release 2.2.